#include <iostream>
using std::cout;
using std::endl;

#define MAX "hello"

void test0(){
    //双引号引起来的字符串会被编译器识别为const char *
    //MAX-1的效果实际上是指针偏移
    //cout<<接上字符串，会直接输出字符串的内容
    /* cout << MAX + 1 << endl; */

    //const关键字赋予变量只读的属性
    const int num = 10;
    /* int const num = 10; */
    cout << num << endl;
    /* num = 100; */
    cout << num << endl;
}

int main(void){
    test0();
    return 0;
}
